<%@page import="java.util.Map"%>
<%@page import="org.proddevplm.constants.*"%>
<%@page import="org.proddevplm.business.user.constants.UserMgmtConstants"%>

<head> 
	<link type="text/css" href="style/proddevplm.css" rel="stylesheet" />
	<script type="text/javascript" src="javascript/js/jquery-1.4.4.min.js"></script>
	<link type="text/css" href="javascript/css/smoothness/jquery-ui-1.8.7.custom.css" rel="stylesheet" />
	<script type="text/javascript" src="javascript/js/jquery-ui-1.8.7.custom.min.js"></script>
</head>

<script>
	
	$(function(){
		$("#subButton").button();
		$("#signUpButtonset").buttonset();
	});
	
	function loadSignUpPage(page){
		$("#signUpPage").load(page);
	}
	
	function pageForDevTeam(){
		loadSignUpPage("signUp/signUpDevTeam.jsp")
	}
	
	function pageForGuests(){
		loadSignUpPage("signUp/signUpGuest.jsp")
	}

</script>

<div align="center" style="margin-top:30px">

	<div class="containerBig" style="text-align: center; width: 500px; font-family:verdana;">
		<div class="pageTitle" style="height:40px; padding-top:5%;">
			<a href="/proddev/controller?manager=flowManager&method=4">
				<img src="/proddev/images/arrowleft.png" align="middle" width="25" height="25" style="border:none; float:left; margin-left:5%"/>
			</a>
			<div style="color:darkblue; font-size:large; float:center;">
				Please fill in this form
			</div>
			<div style="clear:both"></div>
		</div>
		
		<div id="signUpButtonset" style="width:90%; margin-top:10px; margin-left:auto; margin-right:auto; font-size:x-small">
			<input type="radio" name="radio" id="pageForDevTeam" onclick="pageForDevTeam()" /><label for="pageForDevTeam" style="width:62%"><b>Form for development team</b></label>
			<input type="radio" name="radio" id="pageForGuests" onclick="pageForGuests()"/><label for="pageForGuests" style="width:35%"><b>Form for guests</b></label>
			<div style="clear:both"></div>			
		</div>
		
		<div id="signUpPage">
		</div>
		
		<div style="clear:both"></div>	

		<% 
		Map stateMap = (Map)session.getAttribute(ControllerConstants.STATE_MAP);
		if(stateMap!=null){
			String errorMessage = (String)stateMap.get(UserConstants.ERROR_MESSAGE);
			if (errorMessage!=null) {%>
				<p style="color:#FF0000"><%=errorMessage %></p>
			<%}
		}%>	
	
		<hr style="color:#EDEDED"/>
		<div style="margin-bottom:5px;">
			<font size=1> <i>&#169; Cristian Codre. All rights reserved</i></font>
		</div>
	
	</div>
	
</div>